package com.rui.common.vo;

import lombok.Data;
import com.rui.common.pojo.*;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author Administrator
 */
@Data
public class OrderVO {
    private Integer oid;
    private Integer sid;
    private Integer uid;
    private Address addressMessage;
    private String deliveryPrice;
    private List<Good> goods;
    private BigDecimal totalPrice;
    private BigDecimal goodTotalPrice;

    public OrderVO(Integer oid, Integer sid, Integer uid, Address addressMessage, String deliveryPrice, List<Good> goods, BigDecimal totalPrice, BigDecimal goodTotalPrice) {
        this.oid = oid;
        this.sid = sid;
        this.uid = uid;
        this.addressMessage = addressMessage;
        this.deliveryPrice = deliveryPrice;
        this.goods = goods;
        this.totalPrice = totalPrice;
        this.goodTotalPrice = goodTotalPrice;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Address getAddressMessage() {
        return addressMessage;
    }

    public void setAddressMessage(Address addressMessage) {
        this.addressMessage = addressMessage;
    }

    public String getDeliveryPrice() {
        return deliveryPrice;
    }

    public void setDeliveryPrice(String deliveryPrice) {
        this.deliveryPrice = deliveryPrice;
    }

    public List<Good> getGoods() {
        return goods;
    }

    public void setGoods(List<Good> goods) {
        this.goods = goods;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getGoodTotalPrice() {
        return goodTotalPrice;
    }

    public void setGoodTotalPrice(BigDecimal goodTotalPrice) {
        this.goodTotalPrice = goodTotalPrice;
    }
}
